Repository navigation
[58_maintenance] fix(parquet): error when writing bloom filters for encrypted columns - #12192
Merged
Merged
Conversation
…pache#12165) # Which issue does this PR close? - related to apache#12166 # Rationale for this change Writing encrypted bloom filters is not implemented in the Rust parquet writer. Today, when bloom filters are enabled together with encryption, the writer writes the bloom filter of an encrypted column in **plaintext**. The C++ writer raises an explicit "not yet implemented" error in this case rather than writing the filter: https://github.com/apache/arrow/blob/87eb47ece82003145ffff6b6b9b64321af996649/cpp/src/parquet/file_writer.cc#L523-L525 # What changes are included in this PR? - Return `ParquetError::NYI` if a bloom filter is enabled when encryption is requested on the same column - Document the restriction on `WriterPropertiesBuilder::with_file_encryption_properties`. I tried to keep the error as scoped as possible (to minimize the cases that are rejected) # Are these changes tested? Yes, new tests in `parquet/tests/encryption/encryption.rs` # Are there any user-facing changes? Yes: writing a file with encryption properties and bloom filters enabled for an encrypted column now returns an error, where it previously succeeded and wrote the bloom filter unencrypted. --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
3 of 5 tasks
Rich-T-kid
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
58.4.2(November 2026) #12163Cherry-pick of 4213ecf